<?php

/**
 * 
 * @author yuxun
 *
 */
class CommonController extends AdminBaseController {
	
	public function truncate(){
		$table = PubRequest::R('table');
		
		$result = Yii::app()->dbOss->createCommand()->truncateTable($table);
		$this->out = array(
				'status' => 1,
				'msg' => $result,
				'data'    => ''
		);
		$this->outType = 'json';
	}
    

    
}